package com.qlyl.modules.information.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.qlyl.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 认证审核信息
 * @Author: jeecg-boot
 * @Date:   2020-01-09
 * @Version: V1.0
 */
@Data
@TableName("auth_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="auth_info对象", description="认证审核信息")
public class AuthInfo {
    
	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
	private String id;

	/**认证用户id*/
	@Excel(name = "认证用户id", width = 15)
    @ApiModelProperty(value = "认证用户id")
	private String userid;

	/**用户真实姓名*/
	@Excel(name = "用户真实姓名", width = 15)
    @ApiModelProperty(value = "用户真实姓名")
	private String realname;

	/**身份证号码*/
	@Excel(name = "身份证号码", width = 15)
    @ApiModelProperty(value = "身份证号码")
	@TableField(value = "idcard_code")
	private String idcardCode;

	/**身份证反面*/
//	@Excel(name = "身份证反面", width = 15)
    @ApiModelProperty(value = "身份证反面")
	@TableField(value = "idcard_behind_img")
	private String idcardBehindImg;

	/**身份证正面*/
//	@Excel(name = "身份证正面", width = 15)
    @ApiModelProperty(value = "身份证正面")
	@TableField(value = "idcard_front_img")
	private String idcardFrontImg;

	/**企业营业执照*/
//	@Excel(name = "企业营业执照", width = 15)
    @ApiModelProperty(value = "企业营业执照")
	@TableField(value = "business_license_img")
	private String businessLicenseImg;

	/**企业名称*/
	@Excel(name = "企业名称", width = 15)
    @ApiModelProperty(value = "企业名称")
	@TableField(value = "company_name")
	private String companyName;


	/**企业id*/
	@Excel(name = "企业id", width = 15)
	@ApiModelProperty(value = "企业id")
	@TableField(value = "comsums_id")
	private String comsumsId;



	/**用户职位*/
	@Excel(name = "用户职位", width = 15)
    @ApiModelProperty(value = "用户职位")
	@TableField(value = "user_position")
	private String userPosition;

	/**联系方式*/
	@Excel(name = "联系方式", width = 15)
    @ApiModelProperty(value = "联系方式")
	private String cphone;

	/**授权书*/
//	@Excel(name = "授权书", width = 15)
    @ApiModelProperty(value = "授权书")
	private String authorization;

	/**认证状态 1：认证中；2：认证成功；3：认证失败*/
	@Excel(name = "认证状态", width = 15,dicCode = "auth_check_status")
    @ApiModelProperty(value = "认证状态 1：认证中；2：认证成功；3：认证失败")
	@Dict(dicCode = "auth_check_status")
	private Integer authCheckStatus;

	/**备注：原因*/
	@Excel(name = "备注：原因", width = 15)
    @ApiModelProperty(value = "备注：原因")
	private String conment;

	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	@TableField(value = "create_time")
	private Date createTime;

	/**审核时间*/
	@Excel(name = "审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
	@TableField(value = "check_time")
	private Date checkTime;

}
